home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 12 / Cream of the Crop 12 (Part II) / Cream of the Crop 12 (Part II).iso / OS2 / VD08BIN.ZIP / usr / include / pm / menu.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-13  |  541 b   |  35 lines

  1. #ifndef _MENU_H_
  2. #define _MENU_H_
  3.  
  4. #ifndef _WINDOW_H_
  5. #include <pm/Window.h>
  6. #endif
  7.  
  8. @interface Menu : Window <Archiving>
  9. {
  10.   id itemList;
  11. }
  12.  
  13. - init;
  14. - initWithId: (ULONG) anId andFlags: (ULONG) flags;
  15. - initWithId: (ULONG) anId andFlags: (ULONG) flags in: parent;
  16.  
  17. - free;
  18.  
  19. - insertItem: anItem at: (SHORT) pos;
  20.  
  21. - enableItem: (USHORT) identifier;
  22. - disableItem: (USHORT) identifier;
  23.  
  24. - popup: sender;
  25.  
  26. - itemList;
  27.  
  28. - awake;
  29. - read: (TypedStream *) aStream;
  30. - write: (TypedStream *) aStream;
  31.  
  32. @end
  33.  
  34. #endif
  35.